<template>
    <mt-swipe :auto="4000" :class="[isheight?'h-swipe':'s-swipe']">
        <mt-swipe-item v-for="(item,i) in lunbo" :key="i" ><img :src="item[imgname]"></mt-swipe-item>
    </mt-swipe>
</template>
<script>        
export default {
    props:['lunbo','isheight','imgname']
}
</script>
<style scoped>
.s-swipe{
    height: 180px;  
    text-align: center;
}
.s-swipe img{
    height: 180px;
}
.h-swipe img{
    height: 100%;
    width: 100%;
}
</style>